#ifndef FILL_H
#define FILL_H

#include "Effects/RGBEffect.h"

class Fill : public RGBEffect
{

public:
    Fill();
    ~Fill();

    //EFFECT_REGISTERER(ClassName(), CAT_SIMPLE, [](){return new Fill;});

    static std::string const ClassName() {return "Fill";}
    //void DefineExtraOptions(QLayout*) override;
    void StepEffect(ControllerZone* const controller_zone) override;

private:
    //Ui::Fill *ui;
    double time = 0;
    double progress = 0;
    double old_progress = 0;
    RGBColor random;

    RGBColor GetColor(unsigned int, unsigned int);
};

#endif // FILL_H
